import request from '@/utils/request'

export function getGraduateRequirementAchievementList(params) {
  return request({
    url: '/graduate-requirement-achievement/page',
    method: 'get',
    params
  })
}

export function getGraduateRequirementAchievement(id) {
  return request({
    url: `/graduate-requirement-achievement/${id}`,
    method: 'get'
  })
}

export function addGraduateRequirementAchievement(data) {
  return request({
    url: '/graduate-requirement-achievement',
    method: 'post',
    data
  })
}

export function updateGraduateRequirementAchievement(data) {
  return request({
    url: '/graduate-requirement-achievement',
    method: 'put',
    data
  })
}

export function deleteGraduateRequirementAchievement(id) {
  return request({
    url: `/graduate-requirement-achievement/${id}`,
    method: 'delete'
  })
} 